package com.example.strategyNew;

import com.example.strategyNew.entity.BankCardAuthRequestBody;
import com.example.strategyNew.entity.BankCardAuthResponseBody;
import com.example.strategyNew.entity.ThirdElementsAuthRequestBody;
import com.example.strategyNew.entity.ThirdElementsAuthResponseBody;
import lombok.extern.slf4j.Slf4j;

/**
 * CFCA 服务
 */
@Slf4j
public class CfcaServiceStrategyImpl implements ThirdServiceStrategy {
    @Override
    public ThirdElementsAuthResponseBody threeElementsAuth(ThirdElementsAuthRequestBody requestBody) {
        log.info("cfca auth:{}", requestBody);
        return new ThirdElementsAuthResponseBody().status(Constants.SUCCESS).message("认证成功").verification("20");
    }

    @Override
    public BankCardAuthResponseBody bankCardAuth(BankCardAuthRequestBody requestBody) {
        log.info("cfca auth:{}", requestBody);
        return new BankCardAuthResponseBody().status(Constants.SUCCESS).message("认证成功").verification("20");
    }

    @Override
    public void twoElementsAuth() {

    }

    @Override
    public void ocr() {

    }
}
